<html>
<head>
	<title></title>
</head>
<body>
	<h4>logic express</h4>
<?php 
	// && and || or xor !
	// ?:
	if(0 && "abc"){
		echo "true <= 0 && abc"; echo "<br>";
	}else{
		echo "false <= 0 && abc"; echo "<br>";
	}

	echo (1 && 2)?0:"x";echo "<br>";
?>

<br>
<h4>function</h4>
<?php 
	function foo(){return "function return 5";}
	echo foo(); echo "<br>";

 ?>
<br/>
<a href="/control_flow.php">control flow in php</a>
</body>
</html>
